package com.yanle.pattern.singleton;

/**
 * @Description: 饿汉模式
 * @Author Richard
 * @Date 2018/4/11 14:35
 */
public class HungrySingleton {
    private static HungrySingleton instance = new HungrySingleton();

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        return instance;
    }
}
